package com.extendsClassDemo;

import java.util.ArrayList;

public class chain extends human{
    public chain(){


    }
    public chain(String name){
        this.name = name;
        System.out.println(name);
    }
    @Override
    public void food(){
        System.out.println("子类");

    }
}
